package lk.icta.common.dao;

import lk.icta.common.entity.DistrictEngineerZone;
import lk.icta.user.entity.User;

import java.util.Map;

/**
 * @author Supun Viraj Rathnayaka
 */
public interface DistrictEngineerZoneDAO {

    /**
     * Returns All District Engineer Zones
     *
     * @param language the selected language
     * @param user     the user requesting the full District Engineer Zone name list
     * @return a Map of all District Engineer Zones for the given language along with the zone ID
     */

    Map<Integer,String> getAllDistrictEngineerZonesByUserLanguage(String language, User user);

    DistrictEngineerZone getDistrictEngineerZoneById(int id);
}
